package com.lky.marshallmall.marshall.auth.feign;

import com.lky.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by
 * autor : Marshall lky
 * datetime: 2021/4/25 19:12
 */
@FeignClient("third-party")
public interface ThirdPartFeignService {

    @PostMapping("/sms/sendcode")
    public R sendCode(@RequestParam("phone") String phone, @RequestParam("code") String code, @RequestParam("expire") String expire);
}
